#ifndef __UM_AV_TASK_H__
#define __UM_AV_TASK_H__

#include "um_basic_types.h"
#include "umapi_os.h"
#include "umapi_libc.h"
#include "umSource.h"
#include "umSink.h"

typedef struct
{
	UM_CHAR httpUrl[120];
	UM_CHAR hlsUrl[120];
	UM_CHAR rtspUrl[120];
}S_URLPARAM;


UM_VOID *createAvTask(UM_CHAR *inUrl, UM_VOID **funcall, S_URLPARAM *pUrl);
UM_S32 stopAvTask(UM_VOID *pavTask);
UM_S32 startAvTask(UM_VOID *pavTask);
UM_S32 destroyAvTask(UM_VOID *pavTask);
UM_VOID AvTrace(UM_VOID *pavTask);
#endif
